
<ul>
    <?php foreach($course_list as $row){?>
        <li><?php echo $row->course_name; ?></li>
    <?php }?>
</ul>